﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HyperWPF
{
    public partial class DeviceBase
    {
        public enum DevideType
        {
            None=0,
            MotionCard=1,
            LaserCard=2,

            IncrementAxis = 10,//增量编码器轴
            AbsultAxis = 11,//绝对编码器轴

            CardIO =20,//控制卡的IO 
            RobotIO=21,//机器人的IO
            LaserIO = 22,//激光卡的IO


            NormalClient =30,//tcp客户端
            NormalService=31,//tcp服务器

            SerialPort=40,//串口设备
        }


        /// <summary>
        /// 设备的名字
        /// </summary>
        public string DeviceName { get; set; } = "";

        /// <summary>
        /// 设备的唯一ID
        /// </summary>
        public string OneID { get; set; } = "";


        public DevideType DType { get; set; }
    }
}
